package com.vhuomai.product.mapper;

import com.vhuomai.mybatis.mapper.auto.AutoMapper;
import com.vhuomai.product.entity.BaseSlideImage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SlideImageMapper extends AutoMapper<BaseSlideImage, Integer> {
    
    List<BaseSlideImage> findByProductId(@Param("productId") Integer productId);
    
    void deleteByProductId(@Param("productId") int productId);
}
